<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>saber的亚瑟王朝</title>
  <link rel="stylesheet" href="/lib/layui/css/layui.css">
  <link rel="stylesheet" href="/css/login.css">
</head>
<body>
  <!-- 上方大事件logo -->
  <img src="/images/logo.png" alt="" id="top-logo">

  <!-- 登录盒子 start-->
  <div class="box login">
    <!-- title -->
    <div class="title"></div>
    <!-- 表单 -->
    <form action="" class="frombox">

      <!-- 输入用户名 -->
      <i class="layui-icon layui-icon-username"></i> 
      <input type="text" name="username" required  lay-verify="required" placeholder="请输入用户名" autocomplete="off" class="layui-input">

      <!-- 输入密码 -->
      <div class="password">
        <i class="layui-icon layui-icon-password"></i> 
      <input type="password" name="password" required lay-verify="required" placeholder="请输入密码" autocomplete="off" class="layui-input">
      </div>
      
      <!-- 登录按钮 -->
      <button class="layui-btn  layui-btn-normal" lay-submit lay-filter="formDemo" type="submit">登录</button>

      <!-- 去注册账号 -->
      <a href="javascript:;" class="goregistered">去注册账号</a>
    </form>
  </div>
  <!-- 登录盒子 end-->

  <!-- 注册盒子 start-->
  <div class="box registered">
    <!-- title -->
    <div class="title"></div>
    <!-- 表单 -->
    <form action="" class="frombox layui-form">

      <!-- 输入用户名 -->
      <i class="layui-icon layui-icon-username"></i> 
      <input type="text" name="username" required  lay-verify="required" placeholder="请输入用户名" autocomplete="off" class="layui-input">

      <!-- 输入密码 -->
      <div class="password">
        <i class="layui-icon layui-icon-password"></i> 
        <input type="password" name="password" required lay-verify="required|len" placeholder="请输入密码" autocomplete="off" class="layui-input reg-pwd">
      </div>
      
      <!-- 再次确认密码 -->
      <div class="password">
        <i class="layui-icon layui-icon-password"></i> 
        <input type="password" required lay-verify="required|len|same" placeholder="再次确认密码" autocomplete="off" class="layui-input">
      </div>
      
      <!-- 注册按钮 -->
      <button class="layui-btn  layui-btn-normal" lay-submit lay-filter="formDemo" type="submit">注册</button>

      <!-- 去登录账号 -->
      <a href="javascript:;" class="goregistered">去登录</a>
    </form>
  </div>
  </div>
  <!-- 注册盒子 end-->
  <script src="/lib/jquery.js"></script>
  <script src="/lib/template-web.js"></script>
  <script src="/lib/layui/layui.all.js"></script>
  <script src="/js/login.js"></script>
</body>
</html>